package nc.gk.gkxm.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import nc.gk.gkxm.model.entity.Option;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("题目请求参数内容")
public class TopicDto {
    @ApiModelProperty(value = "题目内容-模糊查询", required = true, position = 3, example = "A")
    private String topic;
    @ApiModelProperty(value = "题目主键", required = true, position = 1, example = "1")
    private Integer topicid;
    @ApiModelProperty(value = "题目类型", required = true, position = 2, example = "1")
    private Integer sort;
    @ApiModelProperty(value = "数量", required = true, position = 4)
    private String number;
    @ApiModelProperty(value = "题目答案", required = true, position = 5,example = "A")
    private String answer;
    @ApiModelProperty(value = "题目解析", required = true, position = 6, example = "因为在日本或国内有很多粉丝")
    private String tanalyze;
    @ApiModelProperty(value = "题目选项", required = true, position = 7, example = "A.正确 B.错误")
    private List<Option> options;
}
